<script type="text/javascript">
	
class People {
	constructor(name, age) {
		this.name = name;
		this.age = age;
	}

	say() {
		alert('我的名字是'+this.name);
	}
}


class Student extends {
	constructor(name, ...a) {
		super(name);
		this.other = a[0];
	}
}


let stu = new Student('cuihao', 123);
console.log(stu);

</script>